package com.datasure.domain.entity;

import com.datasure.domain.entity.base.Entity;
import com.datasure.types.IntegerId;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Data;
import lombok.Setter;

@Builder
@Data
@Setter(value = AccessLevel.PRIVATE)
public class Harddisk implements Entity<IntegerId> {
    public Harddisk(IntegerId deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public IntegerId getId() {
        return harddiskId;
    }

    private IntegerId harddiskId;

    private Integer diskcloneId;

    private IntegerId deviceId;

    private String harddiskName;

    private Integer harddiskIsOnline;

    private Integer harddiskIndex;

    private Integer harddiskType;

    private Integer harddiskPartitionNum;

    private String harddiskSn;

    private String harddiskUuid;

    private Integer deviceIsStandby;

    private String harddiskRemark;

    private Long harddiskSector;

    private Integer harddiskIsOs;

    private Integer harddiskStandbyModel;

    private Integer harddiskClusterType;

    private Integer harddiskNeedbackup;

    private Integer sectorBytes;
}